<!DOCTYPE html>
<html lang="en">
    <head>
        <title></title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <script src="./lib/vue-2.4.0.js"></script>
    </head>
    <body>
        <div id="app">
            <mscon></mscon>
        </div>
        <template id="mb">
            <div >
                <h3>这是模板工具</h3>
                <input type="text" value="确实好用">输入号码:
                <p v-for="(item,i) in list">
                    +
                </p>
            </div>
            
    
        <script>
            Vue.component('mscon',{
                template:'#mb'
            })

            var vm = new Vue({
                el: '#app',
                data: {
                        list:[
                            {id:1,name:'st'},
                            {id:2,name:'djr'},
                            {id:3,name:'cjj'}
                        ]
                },
                methods:{

                }
            })
        </script>
    </body>
</html>